left,right=1,2

for _ in range(50):
    mid=(left+right)/2
    if mid*mid>2:
        right=mid
    else:
        left=mid

    print(left,right)